package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 企业管理对象 sys_cooperation
 * 
 * @author riddou
 * @date 2022-04-11
 */
public class SysCooperation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long cooperId;

    /** 项目id */
    @Excel(name = "项目id")
    private Long projectId;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String name;

    /** 单位地址 */
    @Excel(name = "单位地址")
    private String address;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contacts;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactsPhone;

    /** 附件 */
    @Excel(name = "附件")
    private String attachment;

    public void setCooperId(Long cooperId) 
    {
        this.cooperId = cooperId;
    }

    public Long getCooperId() 
    {
        return cooperId;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setContacts(String contacts) 
    {
        this.contacts = contacts;
    }

    public String getContacts() 
    {
        return contacts;
    }
    public void setContactsPhone(String contactsPhone) 
    {
        this.contactsPhone = contactsPhone;
    }

    public String getContactsPhone() 
    {
        return contactsPhone;
    }
    public void setAttachment(String attachment) 
    {
        this.attachment = attachment;
    }

    public String getAttachment() 
    {
        return attachment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cooperId", getCooperId())
            .append("projectId", getProjectId())
            .append("name", getName())
            .append("address", getAddress())
            .append("contacts", getContacts())
            .append("contactsPhone", getContactsPhone())
            .append("attachment", getAttachment())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
